package com.iss.springdemo1.mvc.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
/*
 * @Controller
 * @ResponseBody
* */
@RequestMapping("/rest")
public class RestUserController {

    @RequestMapping("test")
    public String test(){
        return  "rest test";
    }
}
